export const markMenusMap: Record<MenuKey, Array<MenuGroup>> = {
  HOME: [],
  APPLICATION: [
    {
      label: '应用管理',
      items: [{ label: '应用列表', to: 'Applications' }],
    },
    {
      label: '资源统计',
      items: [
        { label: '云计算资源', to: 'ResourceStatisticsWithCloudComputing' },
        { label: 'CDN 资源', to: 'ResourceStatisticsWithCloudCdn' },
      ],
    },
  ],
  COULD_COMPUTING: [
    {
      label: '分组管理',
      items: [
        { label: '云服务器分组', to: 'CouldComputingCloudComputingGroup' },
        { label: '裸金属分组', to: 'CouldComputingDedicatedGroup' },
      ],
    },
    {
      label: '资源管理',
      items: [
        { label: '区域管理', to: 'CouldComputingRegions' },
        { label: '交换机管理', to: 'CouldComputingSwitch' },
        { label: '计算节点', to: 'CouldComputingComputeNode' },
        { label: '裸金属节点', to: 'CouldComputingDedicatedNode' },
        { label: '镜像管理', to: 'CouldComputingImages' },
        { label: '带宽管理', to: 'CouldComputingBandwidth' },
        { label: 'IP 管理', to: 'CouldComputingIP' },
      ],
    },
  ],
  CDN: [
    {
      label: '资源管理',
      items: [
        { label: '节点管理', to: 'CdnNodeNodeList' },
        // { label: '节点级联（删除）', to: 'CdnNodeCascade' },
        { label: '分组管理', to: 'CdnGroupManagement' },
        // { label: '区域管理', to: 'CdnRegionManagement' },
        { label: '版本管理', to: 'CdnNodeNodeVersion' },
        { label: '安全管理', to: 'CdnNodeSecurityConfiguration' },
        { label: '端口配置', to: 'CdnNodePortConfig' },
      ],
    },
    // {
    //   label: '集群管理',
    //   items: [{ label: '集群列表（删除）', to: 'CdnClusterManagement' }],
    // },
    {
      label: '解析管理',
      items: [
        { label: '域名列表', to: 'CdnResolveDomainList' },
        // { label: '解析配置', to: 'CdnParseConfig' },
      ],
    },
    {
      label: '安全日志',
      items: [{ label: '安全日志', to: 'CdnNodeSecurityLog' }],
    },
  ],
  DNS: [
    {
      label: '域名解析',
      items: [{ label: '域名解析', to: 'DnsResolveDomain' }],
    },
    {
      label: 'GTM',
      items: [
        { label: '实例管理', to: 'DnsInstanceList' },
        { label: '地址池管理', to: 'DnsAddressPoolManagement' },
      ],
    },
    {
      label: '权威服务器',
      items: [
        { label: '服务器地址', to: 'DnsNSAddress' },
        { label: '服务器节点', to: 'DnsNSNode' },
        { label: '版本管理', to: 'DnsNSVersion' },
      ],
    },
  ],
  CERT: [
    {
      label: '资源管理',
      items: [
        { label: '证书管理', to: 'CertManagement' },
        { label: 'ACME 账户', to: 'CertAccount' },
        { label: '域名管理', to: 'CertDomain' },
      ],
    },
  ],
  SYSTEM_DOMAINS: [
    {
      label: '系统域名',
      items: [
        { label: '域名管理', to: 'SystemDomainList' },
        { label: '域名账户', to: 'SystemDomainAccount' },
      ],
    },
  ],
  DEV_OPS_MONITOR: [
    {
      label: '运维监控',
      items: [
        { label: '实例数据', to: 'DevOpsMonitorInstanceData' },
        { label: '任务监控', to: 'DevOpsMonitorTaskMonitor' },
        { label: '告警记录', to: 'DevOpsMonitorAlarmRecord' },
        { label: '告警配置', to: 'DevOpsMonitorAlarmConfig' },
      ],
    },
  ],
  SETTINGS: [
    {
      label: '系统设置',
      items: [{ label: '系统设置', to: 'SettingsSystemConfig' }],
    },
    {
      label: '管理员管理',
      items: [
        { label: '管理员列表', to: 'SettingsAdminList' },
        { label: '登录记录', to: 'SettingsAdminLoginRecord' },
        { label: '管理员日志', to: 'SettingsAdminLogs' },
      ],
    },
  ],
}
